home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr49 / vesa18.zip / VGAPORTS.H < prev   
Text File  |  1993-05-02  |  977b  |  20 lines

  1. /* VGA index register ports */
  2. #define CRT_I   0x3D4   /* CRT Controller Index - color emulation */
  3. #define ATT_IW  0x3C0   /* Attribute Controller Index & Data Write Register */
  4. #define GRA_I   0x3CE   /* Graphics Controller Index */
  5. #define SEQ_I   0x3C4   /* Sequencer Index */
  6. #define PEL_IW  0x3C8   /* PEL Write Index */
  7. #define PEL_IR  0x3C7   /* PEL Read Index */
  8.  
  9. /* VGA data register ports */
  10. #define CRT_D   0x3D5   /* CRT Controller Data Register - color emulation */
  11. #define ATT_R   0x3C1   /* Attribute Controller Data Read Register */
  12. #define GRA_D   0x3CF   /* Graphics Controller Data Register */
  13. #define SEQ_D   0x3C5   /* Sequencer Data Register */
  14. #define MIS_R   0x3CC   /* Misc Output Read Register */
  15. #define MIS_W   0x3C2   /* Misc Output Write Register */
  16. #define IS1_R   0x3DA   /* Input Status Register 1 - color emulation */
  17. #define PEL_D   0x3C9   /* PEL Data Register */
  18.  
  19. #define SEG_SELECT 0x3CD /* ET4000 Segment Selection */
  20.